﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using DongleManage.Model.BaseClass;

namespace DongleManage.Model.Member
{

		
	/// <summary>
	///  教练会员关系修改记录
	/// </summary>
	/// <remarks>
	/// 该实体由工具生成，尽量不要手动修改
	/// </remarks>
	[DataContract]
	public partial class RelationChangeLogEntity :BaseEntity
	{
		#region 属性、变量声明
		#region 主属性 --对应数据表主键
		/// <summary>			
		/// LogID : 
		/// </summary>
		/// <remarks>表RelationChangeLog主键</remarks>
        [DisplayName("LogID")]
		[DataMember]
		public Int32 LogID
        {
            get;
            set;
        }
		#endregion
		
		#region 属性
		
		/// <summary>
		/// 关系ID
		/// </summary>
        [DisplayName("关系ID")]
        
		[DataMember]
		public Int32? RelationID
        {
            get;
            set;
        }
		
		/// <summary>
		/// 修改类型
		/// </summary>
        [DisplayName("修改类型")]
        
		[DataMember]
		public Int32? ChangeType
        {
            get;
            set;
        }
		
		/// <summary>
		/// 旧值
		/// </summary>
        [DisplayName("旧值")]
        [StringLength(8, ErrorMessage = "请勿输入超过 8 个字!")]
        
		[DataMember]
		public String OldValue
        {
            get;
            set;
        }
		
		/// <summary>
		/// 新值
		/// </summary>
        [DisplayName("新值")]
        
		[DataMember]
		public String NewValue
        {
            get;
            set;
        }
		
		/// <summary>
		/// InDate : 
		/// </summary>
        [DisplayName("")]
        
		[DataMember]
		public DateTime? InDate
        {
            get;
            set;
        }
		
		/// <summary>
		/// InUserID : 
		/// </summary>
        [DisplayName("")]
        
		[DataMember]
		public Int32? InUserID
        {
            get;
            set;
        }
		#endregion

		#endregion 属性、变量声明
		
	    public RelationChangeLogEntity()
        {
            LogID = (int)0;
            RelationID = null;
            ChangeType = null;
            OldValue = null;
            NewValue = null;
            InDate = null;
            InUserID = null;
        }
	}
}
